package com.spring.cloud.study.service.provider.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class ResultVo extends QueryVo {
    private int code;
    private String desc;

    public ResultVo(int queryId, int code, String desc) {
        super(queryId);
        this.code = code;
        this.desc = desc;
    }
}
